// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from "vue";
import App from "./App";
import router from "./router";
import Vuex from "vuex";
import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";

// import axios from "axios";

import maskLayer from "./components/maskLayer.vue";

Vue.use(Vuex);
Vue.use(ElementUI);
Vue.component("maskLayer", maskLayer);

Vue.config.productionTip = false;
// Vue.prototype.$axios = axios;
// Vue.prototype.$baseUrl = "http://222.202.179.12:9527";
Vue.prototype.$baseUrl = "http://itech.oicp.vip:47702";

/* eslint-disable no-new */
new Vue({
  el: "#app",
  router,
  components: { App },
  template: "<App/>"
});
